<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../pccommon.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${article.title }</title>
<link type="text/css" rel="stylesheet" href="${staticPath}/pccss/style.css" />
<script type="text/javascript" src="${staticPath}/js/ueditor/ueditor.parse.js"></script>
<script type="text/javascript" src="http://g.alicdn.com/de/prismplayer/1.4.7/prism.js"></script>
<link rel="stylesheet" href="http://g.alicdn.com/de/prismplayer/1.4.7/skins/default/index.css" />
<script type="text/javascript">
$(document).ready(function(){
	uParse('.newscont3', {
	    rootPath: appPath + '/js/ueditor'
	})
})
</script>
</head>
<body>
	<div id="wrapper">
		<c:import url="../layout/header1.jsp"></c:import>
		<div id="mainlist">
			<div id="main" style="padding-top: 20px;">
				<div class="mainlist11">
					<a href="javascript:gotoHtml('/index.htm')">首页 >></a>
					<a href="javascript:history.go(-1)">${articleClassName } >></a>
					<p>${article.title }</p>
				</div>
				<div class="mainlist2">
					<div class="newslist1">
						<div class="newscont1">
							<h1>${article.title }</h1>
						</div>
						<div class="newscont2">
							<p>
								<fmt:formatDate value="${article.time }" pattern="yyyy-MM-dd HH:mm:ss" />
							</p>
						</div>
						<div class="newscont2">
							<div class="jiathis_style" style="float:right;">
								<span class="jiathis_txt">分享到：</span>
								<a class="jiathis_button_tools_1"></a>
								<a class="jiathis_button_tools_2"></a>
								<a class="jiathis_button_tools_3"></a>
								<a class="jiathis_button_tools_4"></a>
								<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis">更多</a>
							</div>
							<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
						</div>
						<div class="newscont3">${article.content }</div>
					</div>
				</div>
			</div>
		</div>
		<c:import url="../layout/footer.jsp"></c:import>
	</div>
	<script>
		$(".prism-player").each(function() {
			var heightdate = $(this).attr("heightdate");
			var fileSource = $(this).attr("dataurl");
			var containerId = $(this).attr("id");
			var player = new prismplayer({
				id : containerId, // 容器id
				source : fileSource, // 视频url 支持互联网可直接访问的视频地址
				//source: "http://player.ku6.com/inside/XGZadFw5voEoeHNbH4c4Gg../v.swf&adss=0",
				autoplay: false,      // 自动播放
				width: "auto",       // 播放器宽度
				height: heightdate,  
				skinLayout : [ {
					"align" : "blabs",
					"x" : 30,
					"y" : 80,
					"name" : "bigPlayButton"
				}, {
					"align" : "blabs",
					"x" : 0,
					"y" : 0,
					"name" : "controlBar",
					"children" : [ {
						"align" : "tlabs",
						"x" : 0,
						"y" : 0,
						"name" : "progress"
					}, {
						"align" : "tr",
						"x" : 20,
						"y" : 25,
						"name" : "fullScreenButton"
					}, {
						"align" : "tr",
						"x" : 20,
						"y" : 25,
						"name" : "volume"
					} ]
				} ]
			});
		});
	</script>
</body>
</html>